package com.duke.shaking.pojo;

import java.util.Date;

public class Order {
	public static final int ORDER_STATE_UNFIN = 0;
	public static final int ORDER_STATE_DONE = 1;
	public static final int ORDER_STATE_FAIL = 2;
	public static final int ORDER_STATE_QUERY_FAILED = 100;
	
	private long orderId;
	private String orderNo;
	private Date orderTime;
	private int prodectType;
	private int orderState;
	private String payStatusCode; // return from sohu pay api
	private String payResult; // query order status, and return from love5 server
	
	public long getOrderId() {
		return orderId;
	}
	public void setOrderId(long orderId) {
		this.orderId = orderId;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public Date getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}
	public int getProdectType() {
		return prodectType;
	}
	public void setProdectType(int prodectType) {
		this.prodectType = prodectType;
	}
	public int getOrderState() {
		return orderState;
	}
	public void setOrderState(int orderState) {
		this.orderState = orderState;
	}
	public String getPayStatusCode() {
		return payStatusCode;
	}
	public void setPayStatusCode(String payStatusCode) {
		this.payStatusCode = payStatusCode;
	}
	public String getPayResult() {
		return payResult;
	}
	public void setPayResult(String payResult) {
		this.payResult = payResult;
	}
	
}
